package com.applcn.shop.constant;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * com.applcn.shop.constant
 * Description:
 *
 * @author: 大妖怪
 * @date: 2020-04-01 23:55
 */
public enum VerifyStatusEnum implements IEnum<Integer> {

    /**
     * 待审核
     */
    PENDING(0, "待审核"),

    /**
     * 审核通过
     */
    PASS(1, "审核通过"),

    /**
     * 审核不通过
     */
    REFUSE(-1, "审核不通过");

    private int code;

    private String desc;

    VerifyStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return this.getCode();
    }
}
